package controllers;

import javafx.scene.control.Button;
import javafx.stage.Stage;

/**
 *
 * @author lewuaza
 */
public class ControllerUtil {
    public static void exitScreen(Button button){
        Stage stage = (Stage) button.getScene().getWindow();
        stage.close();    
    }
}
